<style media=print type="text/css">
.word_btn {
	visibility: hidden;
}

.breadcrumbs {
	visibility: hidden;
}
</style>
<title>行政处罚 -武汉市园林和林业局违法通知书</title>
<!-- /section:settings.box -->
<div class="col-xs-12">
	<div class="word_body Js_print category_add">
	<?php
	$contentQ = explode ( '★', $model ['contentsequence'] );
	?>
		<div class="word_bd">
			<h1 class="word_h1">武汉市园林和林业局违法通知书（存根）</h1>
			<div class="word_bianh text-right"></div>
			<div class="word_title">
				<input type="text" id="hx_txt_A1"
					style="border: 0px; border-bottom: 1px solid #333; padding: 0 40px"
					value="<?=$masterEntity['company']?>">：
			</div>
			<div class="word_text">
				经查，你（单位）在 <input type="text" class="word_text" id="hx_txt_A2"
					style="border: 0px; border-bottom: 1px solid #333; padding: 0 40px"
					class="input_inline" value="<?=$contentQ[1]?>">，违反了<input
					type="text" id="hx_txt_A3"
					style="border: 0px; border-bottom: 1px solid #333; padding: 0 40px"
					value="<?=$contentQ[2]?>">，根据<input type="text" id="hx_txt_A4"
					value="<?=$contentQ[3]?>"
					style="border: 0px; border-bottom: 1px solid #333; padding: 0 40px">，请于<input
					type="text" id="hx_txt_A5" value="<?=$contentQ[4]?>"
					style="border: 0px; border-bottom: 1px solid #333; padding: 0 40px">日前到<input
					type="text" id="hx_txt_A6" value="<?=$contentQ[5]?>"
					style="border: 0px; border-bottom: 1px solid #333; padding: 0 40px">接受处理。逾期者依法予以处罚。
			</div>
			<div class="word_name">当事人（签章）</div>
			<div class="word_foot text-right">
				<p>执法机构 （签章）</p>
				<p>
					<span class="word_span"></span>年<span class="word_span"></span>月<span
						class="word_span"></span>日
				</p>
			</div>
		</div>
		<!--
		<div class="word_hr"></div>
		<div class="word_bd">
			<h1 class="word_h1">武汉市园林和林业局违法通知书</h1>
			<div class="text-right">编号：2016002</div>
			<div class="word_title"><span class="word_span">A1</span>：</div>
			<div class="word_text">经查，你（单位）在 <span class="word_span">A2</span>，违反了<span class="word_span">A3</span>，根据<span class="word_span">A4</span>，请于<span class="word_span">A5</span>年<span class="word_span"></span>月<span class="word_span"></span>日前到<span class="word_span">A6</span>接受处理。逾期者依法予以处罚。 </div>
			<div class="word_name">当事人（签章）</div>
			<div class="word_foot text-right">
				<p>执法机构 （签章）</p>
				<p><span class="word_span"></span>年<span class="word_span"></span>月<span class="word_span"></span>日</p>
			</div>
		</div>  -->
	</div>
	<div class="space-4"></div>
	<div class="clearfix form-actions">
		<div class="col-md-offset-3 col-md-9">
			<button class="btn btn-info save" type="button" id="btnSubmit">
				<i class="ace-icon fa fa-check bigger-110"></i>保存
			</button>
			&nbsp; &nbsp;
			<button class="btn" type="reset">
				<i class="ace-icon glyphicon glyphicon-remove bigger-110"></i>还原
			</button>
		</div>
	</div>
</div>

<script type="text/javascript">
var scripts = [null,  null];
$('.page-content-area').ace_ajax('loadScripts', scripts, function() {
	var $scope = $(".category_add");
	$("#btnSubmit").click(function(){							
		var A1 = $("#hx_txt_A1",$scope).val();
		var A2 = $("#hx_txt_A2",$scope).val();
		var A3 = $("#hx_txt_A3",$scope).val();
		var A4 = $("#hx_txt_A4",$scope).val();
		var A5 = $("#hx_txt_A5",$scope).val();
		var A6 = $("#hx_txt_A6",$scope).val();
		var contentsequence = A1+"★"+A2+"★"+A3+"★"+A4+"★"+A5+"★"+A6;
		var category =1;
		var be_punished_man= A1;
		
		$.post('/administrative/Ajax_administrative_add',{
			'id':'<?=$model['id']?>',
			'master_id':'<?=$master_id?>',
			'contentsequence':contentsequence,
			'category':category,
			'be_punished_man':be_punished_man
			},function(data){
				if (200 === data.status) {
					message_box.show(data.data);				
					gDialog.fClose();
					location.href="/#administrative/list?id=<?=$master_id?>"
					if (typeof(pageObj) != "undefined") {
						if (data.page < pageObj.get_page_count()) {
							pageObj.dec_page_count(); //-1
							if (pageObj.get_page_index() > pageObj.get_page_count()) {
								pageObj.go_page(pageObj.get_page_count());
							} else {
								pageObj.cur_page();
							}
						} else {
							pageObj.cur_page();
						}
					}
				} else {
					message_box.show(data.data);
				}
			 
		},'json');
	});			
})
</script>

